package com.lanyanhua.job.dao;

import com.lanyanhua.job.entity.EmailServerInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: lanyanhua
 * @Date: 2018/10/31 0031 09:59
 * @Description:
 */
@Repository
public interface EmailRepository extends JpaRepository<EmailServerInfo,Integer>,JpaSpecificationExecutor<EmailServerInfo> {

    List<EmailServerInfo> findByJobGroupNo(String jobGroupNo);
}
